# Contributor: Nulo <alpine@nulo.in>
# Maintainer: Nulo <alpine@nulo.in>
pkgname=wlopm
pkgver=0.1.0
pkgrel=0
pkgdesc="Wayland output power management"
url="https://sr.ht/~leon_plickat/wlopm/"
arch="all"
license="GPL-3.0-or-later"
options="!check" # No test suite
makedepends="wayland-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~leon_plickat/wlopm/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"

build() {
	make
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="
a9690051786cfef1f96b574c8afaf35a7e234c0fa3b35b210be1fc1a963304c94f77d60935b32030cc641e87279d58b74f55dd3a6a4fcef905fb9432dd58ecab  wlopm-0.1.0.tar.gz
"
